<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model as Eloquent;

/**
 * Class HallConfig
 * 
 * @property int $id
 * @property int $hall_id
 * @property string $access_token
 * @property string $jwt_token
 * @property string $tz_secret
 * @property string $app_key
 * @property bool $opt_status
 * @property string $opt_account
 * @property string $opt_password
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class HallConfig extends Eloquent
{
	protected $table = 'hall_config';

	protected $casts = [
		'hall_id' => 'int',
		'opt_status' => 'bool'
	];

	protected $hidden = [
		'access_token',
		'jwt_token',
		'tz_secret',
		'opt_password'
	];

	protected $fillable = [
		'hall_id',
		'access_token',
		'jwt_token',
		'tz_secret',
		'app_key',
		'opt_status',
		'opt_account',
		'opt_password'
	];
}
